<?php
session_start();
require_once '../header.php';
require_once 'array.php';
function __autoload($className)
	{
    	require_once('../class/' . $className . '.class.php');
	}
session::need_member();
$Plan=$_GET["plan"];
$Country=$_GET["country"];
$checkVer=$Plan.$Country;
$Check=verify::check($checkVer);
if($Check==0)
{
	if($Plan=="our")
	{
		$GetState=database::LimitQuery('ccinfo',array(
		'select' => 'distinct state',
		'condition' => array(
		'country' => $Country,'orderid' => 0, 'userid' => 0 )
		));
		require_once '../html/findourstate.php';
	}
	else if($Plan=="ltd")
	{
		$GetState=ltdcc::GetStateLtd($Country);
	}
	else if($Plan=="codesell")
	{
		$GetState=ltdcc::GetStateLtd($Country);
	}
	else if($Plan=="vmarket")
	{
		$GetState=vmarket::getStateVmartket($Country);
	}
	else if($Plan=="partner")
	{
		$GetState=reseller::findStateReseller($Country);
		
	}
	require_once '../html/findourstate.php';
}
else
{
	echo "Deneid";
}

?>